<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!-- 引入struts2的标签 -->
<%@taglib prefix="s" uri="/struts-tags" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>    
    <title>用户信息</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<link rel="stylesheet" href="<%=request.getContextPath()%>/css/main.css" type="text/css"/>
  </head>
  
  <body>
   <jsp:include page="nav.jsp"/>
   
	<table width="900" cellpadding="0" cellspacing="0" class="ct">
		<tr>
			<td>用户ID：</td><td>${id }</td>
		</tr>
		<tr>
			<td>用户名字：</td><td>${username }</td>
		</tr>
		<tr>
			<td>用户昵称：</td><td>${nickname }</td>
		</tr>
		<tr>
			<td>用户邮箱：</td><td>${email }</td>
		</tr>
		<tr>
			<td>用户类型：</td><td><s:if test="type==0">普通用户</s:if><s:else>管理员</s:else></td>
		</tr>
		<td>用户所在部门：</td><td>${department.name }</td>
	</table>
   
  </body>
</html>